home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: RETURN ();
- Date: 09 Feb 1996 04:33:21 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Feb8213321@qcd.lanl.gov>
- References: <DMFxxq.7M7@emi.net> <4fc6ve$kbn@s02.pavilion.co.uk>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: AJRobb@pavilion.co.uk's message of Thu, 08 Feb 1996 06:59:40 GMT
-
- In article <4fc6ve$kbn@s02.pavilion.co.uk> AJRobb@pavilion.co.uk (Andy
- J Robb) writes:
- <snip>
- >int main(void)
-
- main(int, char**) /* This says "ignore the command line" */
- <snip>
- main(int, char**)
- { int x, y, z;
-
- If you post to comp.lang.c, please post C. A conformant C compiler
- must diagnose the above.
-
- int main(void) is the correct way to "ignore the command line".
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-